package com.ikun.core.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

@Data
@Schema(name = "ID参数")
public class IdDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Min(value = 0, message = "id参数必传且需大于0")
    @Schema(description = "ID")
    private Integer id;

}
